<template>
	<view>
		<view class="item">
			<view class="row-center" style="margin-top: 40rpx;">
				<image src="/static/images/example.png" class="example"></image>
				<view class="example-text">案例展示</view>
				<image src="/static/images/example.png" class="example"></image>
			</view>
			
			<view class="item-bg row-between-center" style="margin-top: 30rpx;" @click="goCircle">
				<view class="item-text">查看已形成的圈子</view>
				<image src="/static/images/arrow_right.png" class="item-icon"></image>
			</view>
			
			<view class="item-bg row-between-center" style="margin-top: 20rpx;"  @click="goShow">
				<view class="item-text">查看已展示的圈子</view>
				<image src="/static/images/arrow_right.png" class="item-icon"></image>
			</view>
		</view>
		
		<view class="item">
			<view class="row-center" style="margin-top: 40rpx;">
				<image src="/static/images/example.png" class="example"></image>
				<view class="example-text">主力店铺</view>
				<image src="/static/images/example.png" class="example"></image>
			</view>
			
			<view class="item-bg row" style="margin-top: 30rpx;">
				<image src="/static/images/lucky.png" class="logo"></image>
				<view class="col" style="margin-left: 20rpx;margin-top: 20rpx;width: 100%;">
					<view class="name">这是商家的名称</view>
					<view class="address">所属地区：山东省 青岛市 黄岛区</view>
					<view class="address">所属商圈：薛家岛商圈</view>
					<view class="address">排列序号：10</view>
					<view class="row-end" style="margin-top: 20rpx;">
						<view class="btn row-center">取消设置</view>
					</view>
				</view>
			
			</view>
			
			<view class="add row-center" @click="goAdd">添加主力店铺</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goAdd(){
				uni.navigateTo({
					url:'/src/pages/merchant_index/add_shop'
				})
			},
			goCircle(){
				uni.navigateTo({
					url:'/src/pages/merchant_index/circle'
				})
			},
			goShow(){
				uni.navigateTo({
					url:'/src/pages/merchant_index/showed'
				})
			}
		}
	}
</script>
<style>
	page{
		background: #F2F3F8;
	}
</style>
<style scoped lang="scss">
	.add{
		margin-bottom: 100rpx;
		margin-top: 40rpx;
		height: 80rpx;
		width: calc(100% - 40rpx);
		border-radius: 20px;
		background: #3B60D3;
		color: #FFF;
		font-size: 32rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 48rpx; /* 150% */
	}
	.btn{
		width: 168rpx;
		height: 64rpx;
		color:  #6A6876;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx; /* 166.667% */
		
		border-radius: 32rpx;
		border: 0.8rpx solid #676C7F;
		background: #FFF;
	}
	
	.logo{
		flex-shrink: 0;
		width: 108rpx;
		height: 108rpx;
		border-radius: 8rpx;
	}
	.name{
		color:  #20252B;
		font-size: 32rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 48rpx; /* 150% */
	}
	
	.address{
		color:  #6A6876;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx; /* 166.667% */
	}
	
	.example{
		width: 32rpx;
		height: 22rpx;
	}
	.example-text{
		margin-left: 28rpx;
		margin-right: 28rpx;
		color:  #20252B;
		font-size: 32rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 48rpx;
	}
	.item{
		margin: 20rpx;
		padding: 40rpx;
		border-radius: 12rpx;
		background: #FFF;
	}
	.item-bg{
		padding: 20rpx 30rpx;
		border-radius: 12rpx;
		background: #F7F8FC;
	
	}
	.item-text{
		color: #20252B;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 44rpx; 
	}
	.item-icon{
		width: 10rpx;
		height: 18rpx;
	}
	
	
	
</style>
